# -*- coding: utf-8 -*-

import unittest

from app.base_case import BaseCase


class CaseDemo(BaseCase, unittest.TestCase):
    def __init__(self, methodName="runTest"):
        unittest.TestCase.__init__(self, methodName)
        BaseCase.__init__(self)

    @classmethod
    def setUpClass(cls) -> None:
        pass

    def setUp(self) -> None:
        pass

    def test_log_debug(self):
        self.log.debug("输出一条信息")

    def tearDown(self) -> None:
        pass

    @classmethod
    def tearDownClass(cls) -> None:
        pass


if __name__ == '__main__':
    suite = unittest.TestSuite()
    suite.addTest(unittest.makeSuite(CaseDemo))
    unittest.TextTestRunner(verbosity=2).run(suite)
